<?php
  include('userlock.php');
  $sql2=$_POST['query2'];
  $sql1=$_POST['query1'];
  $location=$_POST['location'];
  mysql_query($sql1);
  mysql_query($sql2);  
  header("Location: $location");
?>